failure 154:
Requirement failed: {stime.03.02} Function returned EFAULT while EINVAL was expected by condition C_T == C_T.TIsNull
location |
trace |
/var/opt/lsb/test/olver-core/2014-01-29_05-08-38/time_time_scenario.utz (time_time_scenario.utt), line 7880 |
occurence |
scenario |
time_time_scenario |
specification function |
stime_spec() |
parameter value |
CallContext context = [pid=7381,thr=b7525700] |
parameter value |
TimeTObj * @t = <NULL> |
parameter value |
TimeTObj * t = <NULL> |
parameter value |
ErrorCode * @errno = EOK |
parameter value |
ErrorCode * errno = EFAULT |
return value |
(IntT) -1 |
coverage & branch |
C_Priority Process with unknown priority |
C_T t is null |
properties |
REQ failed |
stime.03.02 |
kind |
POSTCONDITION_FAILED |
similar known bug(s)
The stime() function shall set the system's idea of the time and date to the time
referenced by function argument. According to LSB, if this argument is NULL then
stime() shall set error code to EINVAL.
But it sets error code to EFAULT instead of EINVAL.
The bug was fixed in libc 2.4.
Additional information about this bug may be found at http://linuxtesting.org/results/report?num=S0377.
|
|